﻿using System;

namespace Prodma.DataAccess.Helper.Enumerators
{
    public static class EnumeratorExtensions
    {
        public static int ToInt(this State state)
        {
            return Convert.ToInt32(state);
        }
        public static int ToInt(this StateType type)
        {
            return Convert.ToInt32(type);
        }
        public static int ToInt(this MenuType type)
        {
            return Convert.ToInt32(type);
        }
        public static int ToInt(this GalleryType type)
        {
            return Convert.ToInt32(type);
        }
        public static int ToInt(this AuthorizationType type)
        {
            return Convert.ToInt32(type);
        }
    }
}
